package org.amos.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.Collections;
import java.util.List;

/**
 * @desc: Xss 配置文件
 * @author: liubt
 * @date: 2020-12-15 13:12
 **/
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = AuthProperties.PREFIX)
public class AuthProperties {
    public static final String PREFIX = "amos.security.auth";

    /**
     * 白名单URL(不校验token)
     */
    private List<String> excludeUrls = Collections.emptyList();
}
